DX11 SET MESH INDEX BUFFER

Replaces the index buffer of the given mesh with the data contained in the specified array.
Note that your array must be dim'ed of the DWORD datatype for this function to succeed!
The index count will be set to the size of the array. remember that a DBPro array actually contains one more
element than the one it is initiated with, such that

dim myArray(4)


will in fact cause elements 0, 1, 2, 3 AND 4 to be created for myArray, meaning it has 5 elements and not 4.

  Syntax
DX11 SET MESH INDEX BUFFER mesh, indexBuffer
  Parameters
mesh
Dword
The mesh to set up a new index buffer for.
indexBuffer
Array
A DWORD array containing the entire new index buffer to set for the mesh. You may clear or undim this array after calling this function since its data is copied and maintained internally.

  Returns

This function does not return a value.

  See also

MESH Functions Menu
DX11 Function Categories